package cn.tedu_03;

public class Human {
  public String name;
  private int age;
  double salary;

    @Override
    public String toString() {
        return "Human{" +
                "name='" + name + '\'' +
                ", age=" + age +
                ", salary=" + salary +
                '}';
    }

    public Human(){

  }

  public Human(String name,int age,double salary){
         this.name=name;
         this.age=age;
         this.salary=salary;
  }

    public void test1(){
        System.out.println(1);
    }

    private void test2(String a){
        System.out.println(a);
    }

    void test(int a){
        System.out.println(a);
    }


}
